const soapTransform = require('../transform/soapTransform.js');
(async function () {
    let reader = await soapTransform({
        url: 'http://128.0.16.246/emrwebservice/ffwebservice.asmx?wsdl',
        method: 'GetClinicEmrDocPreInput',
    });

    reader.on("data", data => {
        console.log("====", data);
    });

    reader.on("end", function() {
        console.log("done");
    });
})()
